using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Thumbnail
/// </summary>
public class Thumbnail
{
    public Thumbnail(string id, byte[] data, byte[] originalData, string name, int oldWidth, int oldHeight, int newWidth, int newHeight)
	{
		this.ID = id;
        this.OriginalData = originalData;
		this.Data = data;
        this.Name = name;
        this.OldWidth = oldWidth;
        this.OldHeight = oldHeight;
        this.NewWidth = newWidth;
        this.NewHeight = newHeight;
	}
    private int oldWidth;
    public int OldWidth
    {
        get
        {
            return this.oldWidth;
        }
        set
        {
            this.oldWidth = value;
        }
    }
    private int oldHeight;
    public int OldHeight
    {
        get
        {
            return this.oldHeight;
        }
        set
        {
            this.oldHeight = value;
        }
    }

    private int newWidth;
    public int NewWidth
    {
        get
        {
            return this.newWidth;
        }
        set
        {
            this.newWidth = value;
        }
    }
    private int newHeight;
    public int NewHeight
    {
        get
        {
            return this.newHeight;
        }
        set
        {
            this.newHeight = value;
        }
    }


    private string name;
    public string Name
    {
        get
        {
            return this.name;
        }
        set
        {
            this.name = value;
        }
    }

	private string id;
	public string ID
	{
		get
		{
			return this.id;
		}
		set
		{
			this.id = value;
		}
	}

	private byte[] thumbnail_data;
	public byte[] Data
	{
		get
		{
			return this.thumbnail_data;
		}
		set
		{
			this.thumbnail_data = value;
		}
	}
    private byte[] originalData;
    public byte[] OriginalData
    {
        get
        {
            return this.originalData;
        }
        set
        {
            this.originalData = value;
        }
    }


	
}
